2024-07-08T10:46:59.460+08:00  INFO 20104 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2024-07-08T10:46:59.464+08:00  INFO 20104 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2024-07-08T10:47:03.196+08:00  INFO 1564 --- [main] c.example.demo.JavaChatroomApplication   : Starting JavaChatroomApplication using Java 17.0.10 with PID 1564 (E:\java项目\java_chatroom\target\classes started by 王丛发 in E:\java项目\java_chatroom)
2024-07-08T10:47:03.198+08:00  INFO 1564 --- [main] c.example.demo.JavaChatroomApplication   : No active profile set, falling back to 1 default profile: "default"
2024-07-08T10:47:03.709+08:00  INFO 1564 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-07-08T10:47:03.710+08:00  INFO 1564 --- [main] o.a.catalina.core.AprLifecycleListener   : An older version [1.2.39] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5]
2024-07-08T10:47:03.710+08:00  INFO 1564 --- [main] o.a.catalina.core.AprLifecycleListener   : Loaded Apache Tomcat Native library [1.2.39] using APR version [1.7.4].
2024-07-08T10:47:03.714+08:00  INFO 1564 --- [main] o.a.catalina.core.AprLifecycleListener   : OpenSSL successfully initialized [OpenSSL 3.0.11 19 Sep 2023]
2024-07-08T10:47:03.719+08:00  INFO 1564 --- [main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-07-08T10:47:03.719+08:00  INFO 1564 --- [main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.25]
2024-07-08T10:47:03.749+08:00  INFO 1564 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-07-08T10:47:03.749+08:00  INFO 1564 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 526 ms
2024-07-08T10:47:04.081+08:00  INFO 1564 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path '/'
2024-07-08T10:47:04.086+08:00  INFO 1564 --- [main] c.example.demo.JavaChatroomApplication   : Started JavaChatroomApplication in 1.128 seconds (process running for 1.435)
2024-07-08T10:47:13.326+08:00  INFO 1564 --- [http-nio-8080-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-07-08T10:47:13.326+08:00  INFO 1564 --- [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2024-07-08T10:47:13.328+08:00  INFO 1564 --- [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2024-07-08T10:47:13.435+08:00  INFO 1564 --- [http-nio-8080-exec-3] com.example.demo.api.MessageSessionAPI   : 获取 session 失败
2024-07-08T10:47:13.435+08:00  INFO 1564 --- [http-nio-8080-exec-8] com.example.demo.api.UserAPI             : 当前获取不到 session 对象
2024-07-08T10:47:13.435+08:00  INFO 1564 --- [http-nio-8080-exec-5] com.example.demo.api.FriendAPI           : session 不存在
2024-07-08T10:47:16.397+08:00  INFO 1564 --- [http-nio-8080-exec-6] com.example.demo.api.UserAPI             : 用户登录, username:zhangsan, password:123
2024-07-08T10:47:16.422+08:00  INFO 1564 --- [http-nio-8080-exec-6] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-07-08T10:47:16.622+08:00  INFO 1564 --- [http-nio-8080-exec-6] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@76f0390
2024-07-08T10:47:16.625+08:00  INFO 1564 --- [http-nio-8080-exec-6] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
